    <!--<link href="../assets/extra-libs/c3/c3.min.css" rel="stylesheet">-->
    <!--<link href="../assets/libss/chartist/dist/chartist.min.css" rel="stylesheet">-->
   <!-- <link href="../assets/extra-libs/jvector/jquery-jvectormap-2.0.2.css" rel="stylesheet" />-->
    <!-- Custom CSS -->
    <link href="../dist/css/style.min.css" rel="stylesheet">
    
    <div class="page-wrapper">
            
            
            
           <!-- <div class="container-fluid">-->
                
                <div style="width: 100%;margin: 5px auto;">
                    <div class="alert alert-danger" role="alert">
                        <strong>重要通知 </strong> 重要申明：本程序使用的为抖音开放平台接口，介绍页面中所涉及到抖音开放平台及抖音相关字符版权归抖音所有，请各位合理并尊重使用抖音开放平台相关调用参数及宣传中，不要侵权抖音相关商标及抖音官方相关规定。本系统与抖音无关。否则一切责任自行承担。若违反此约定，我司也将保留相关证据，保留司法途径！
                    </div>
                </div>
                <!-- *************************************************************** -->
                <!-- Start First Cards -->
                <!-- *************************************************************** -->
                <div class="card-group">
                    <div class="card border-right">
                        <div class="card-body">
                            <div class="d-flex d-lg-flex d-md-block align-items-center">
                                <div>
                                    <div class="d-inline-flex align-items-center">
                                        <h2 class="text-dark mb-1 font-weight-medium">{$totaluser}</h2>
                                        <span class="badge bg-primary font-12 text-white font-weight-medium badge-pill ml-2 d-lg-block d-md-none">今日+{$totaluser_day}个</span> 
                                    </div>
                                    <h6 class="text-muted font-weight-normal mb-0 w-100 text-truncate">{:__('Total user')}</h6>
                                </div>
                                <div class="ml-auto mt-md-3 mt-lg-0">
                                    <span class="opacity-7 text-muted"><i data-feather="user-plus"></i></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="card border-right">
                        <div class="card-body">
                            <div class="d-flex d-lg-flex d-md-block align-items-center">
                                <div>
                                    <div class="d-inline-flex align-items-center">
                                        <h2 class="text-dark mb-1 font-weight-medium">{$totalshop}</h2>
                                        <span class="badge bg-primary font-12 text-white font-weight-medium badge-pill ml-2 d-lg-block d-md-none">今日+{$totalshop_day}个</span> 
                                    </div>
                                    <h6 class="text-muted font-weight-normal mb-0 w-100 text-truncate">{:__('总商户数')}</h6>
                                </div>
                                <div class="ml-auto mt-md-3 mt-lg-0">
                                    <span class="opacity-7 text-muted"><i data-feather="user-plus"></i></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="card border-right">
                        <div class="card-body">
                            <div class="d-flex d-lg-flex d-md-block align-items-center">
                                <div>
                                    <div class="d-inline-flex align-items-center">
                                        <h2 class="text-dark mb-1 font-weight-medium">{$totalactivity}</h2>
                                        <span class="badge bg-primary font-12 text-white font-weight-medium badge-pill ml-2 d-lg-block d-md-none">今日+{$totalacti_day}个</span> 
                                    </div>
                                    <h6 class="text-muted font-weight-normal mb-0 w-100 text-truncate">{:__('总活动数')}</h6>
                                </div>
                                <div class="ml-auto mt-md-3 mt-lg-0">
                                    <span class="opacity-7 text-muted"><i data-feather="user-plus"></i></span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                
                <div class="card-group">
                <div class="card border-right">
                        <div class="card-body">
                            <div class="d-flex d-lg-flex d-md-block align-items-center">
                                <div>
                                    <h2 class="text-dark mb-1 w-100 text-truncate font-weight-medium">{$data1['lastDayTotalPlay']}</h2>
                                            
                                    <h6 class="text-muted font-weight-normal mb-0 w-100 text-truncate">昨日总播放
                                    </h6>
                                </div>
                                <div class="ml-auto mt-md-3 mt-lg-0">
                                    <span class="opacity-7 text-muted"><i data-feather="dollar-sign"></i></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="card border-right">
                        <div class="card-body">
                            <div class="d-flex d-lg-flex d-md-block align-items-center">
                                <div>
                                    <h2 class="text-dark mb-1 w-100 text-truncate font-weight-medium">{$data1['lastDayCode']}</h2>
                                            
                                    <h6 class="text-muted font-weight-normal mb-0 w-100 text-truncate">昨日总领券
                                    </h6>
                                </div>
                                <div class="ml-auto mt-md-3 mt-lg-0">
                                    <span class="opacity-7 text-muted"><i data-feather="dollar-sign"></i></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="card border-right">
                        <div class="card-body">
                            <div class="d-flex d-lg-flex d-md-block align-items-center">
                                <div>
                                    <h2 class="text-dark mb-1 w-100 text-truncate font-weight-medium">{$data1['lastDayUsedCode']} </h2>
                                            
                                    <h6 class="text-muted font-weight-normal mb-0 w-100 text-truncate">昨日总核销
                                    </h6>
                                </div>
                                <div class="ml-auto mt-md-3 mt-lg-0">
                                    <span class="opacity-7 text-muted"><i data-feather="dollar-sign"></i></span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
               <!--</div>
               </div>-->
               
                
                <!-- *************************************************************** -->
                <!-- End Sales Charts Section -->
                <!-- *************************************************************** -->
                <!-- *************************************************************** -->
                <!-- Start Top Leader Table -->
                <!-- *************************************************************** -->
                <div class="row">
                    <div class="col-12">
                        <div class="card">
                            <div class="card-body">
                                <div class="d-flex align-items-center mb-4">
                                    <h4 class="card-title">活动排行</h4>
                                    <div class="ml-auto">

                                    </div>
                                </div>
                                <div class="table-responsive">
                                    <table class="table no-wrap v-middle mb-0">
                                        <thead>
                                            <tr class="border-0">
                                                <th class="border-0 font-14 font-weight-medium text-muted">活动名称
                                                </th>
                                                <!-- <th class="border-0 font-14 font-weight-medium text-muted px-2">播放量
                                                </th>
                                                <th class="border-0 font-14 font-weight-medium text-muted">领券量</th>
                                                <th class="border-0 font-14 font-weight-medium text-muted text-center">
                                                    核销量
                                                </th> -->
                                                <th class="border-0 font-14 font-weight-medium text-muted text-center">
                                                    播放量
                                                </th>
                                                <th class="border-0 font-14 font-weight-medium text-muted text-center">
                                                    领券
                                                </th>
                                                <th class="border-0 font-14 font-weight-medium text-muted text-center">
                                                    核销
                                                </th>
                                                <!-- <th class="border-0 font-14 font-weight-medium text-muted">Budget</th> -->
                                            </tr>
                                        </thead>
                                        <tbody>
                                            {foreach $data1['activityRank'] as $v}
                                            <tr>
                                                <td class="border-top-0 px-2 py-4">
                                                    <div class="d-flex no-block align-items-center">
                                                        <div class="mr-3"><img
                                                                src="{$v['shop_logo']}"
                                                                alt="user" class="rounded-circle" width="45"
                                                                height="45" /></div>
                                                        <div class="">
                                                            <h5 class="text-dark mb-0 font-16 font-weight-medium">{$v['activity_name']}</h5>
                                                            <span class="text-muted font-14">{$v['shop_name']}</span>
                                                        </div>
                                                    </div>
                                                </td>
                                                
                                                <td
                                                    class="border-top-0 text-center font-weight-medium text-muted px-2 py-4">
                                                    {$v['sum_total_play']}
                                                </td>
                                                <td
                                                    class="border-top-0 text-center font-weight-medium text-muted px-2 py-4">
                                                    {$v['seller_code']}
                                                </td>
                                                <td
                                                    class="border-top-0 text-center font-weight-medium text-muted px-2 py-4">
                                                    {$v['seller_code_used']}
                                                </td>
                                                <!-- <td class="font-weight-medium text-dark border-top-0 px-2 py-4">$96K
                                                </td> -->
                                            </tr>
                                            {/foreach}
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                        
                        
                        
                        
            <div class="row" id="two">
                <div class="col-12">
                    <div class="card">
                        <div class="card-body">
                            <h4 class="card-title">在线更新</h4>
                            <h6 class="card-subtitle">请备份好数据库再进行升级，当前版本：
                                <code>V{$localVersion}</code></h6>
                        <div class="table-responsive">
                            <table class="table">
                                <thead>
                                    <tr>
                                        <!--<th scope="col">#</th>-->
                                        <th scope="col">版本</th>
                                        <th scope="col">更新内容</th>
                                        <th scope="col">发布时间</th>
                                        <th scope="col">操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    {notempty  name="version"}
                                    {volist name="version" id="vo"}
                                    <tr>
                                        <!--<th scope="row">1</th>-->
                                        <td>{$vo.newversion}</td>
                                        <td>{$vo['content']}</td>
                                        <td>{$vo['createtime']|date="Y-m-d",###}</td>
                                        <td><button type="button" data-value="{$vo.id}" class="btn waves-effect waves-light btn-success upgrade">在线升级</button></td>
                                        
                                    </tr>
                                    {/volist}
                                    {/notempty}
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
                        
                        
                        
                        
                        
                        
                        
                    </div>
                </div>
                <!-- *************************************************************** -->
                <!-- End Top Leader Table -->
                <!-- *************************************************************** -->
            </div>
            <!-- ============================================================== -->
            <!-- End Container fluid  -->
            <!-- ============================================================== -->
            <!-- ============================================================== -->
            <!-- footer -->
            <!-- ============================================================== -->
             <footer class="footer text-center text-muted">
                2021 by <!-- <ahref="https://wrappixel.com">WrapPixel</a>. -->
            </footer>
            <!-- ============================================================== -->
            <!-- End footer -->
            <!-- ============================================================== -->
        </div>
        

<!-- ============================================================== -->
    <script src="../assets/libss/jquery/dist/jquery.min.js"></script>
    <script src="../dist/js/feather.min.js"></script>
    <script src="../assets/libss/perfect-scrollbar/dist/perfect-scrollbar.jquery.min.js"></script>

    <!--Custom JavaScript -->
    <script src="../dist/js/custom.min.js"></script>

  
  
  
